﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IGolovkine.ShoutCastRipper.Service.Configuration
{
    public class FileCommandElementCollection : ConfigurationElementCollection<FileCommandElement>
    {
        private const string FileCommandsTag = "fileCommand";
        public FileCommandElementCollection()
            : base(FileCommandsTag)
        { }

        protected override object GetElementKey(FileCommandElement element)
        {
            return element.FileName;
        }
    }
}
